import request from '@/utils/request'

// 获取统计卡片数据
export function getStatistics(query) {
  return request({
    url: '/yushi/user/statistics',
    method: 'get',
    params: query
  })
}

// 获取图表数据
export function getChartData(params) {
  return request({
    url: '/dashboard/chart',
    method: 'get',
    params
  })
}

